<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ModulesUsersTable
 *
 * @author root
 */

namespace Module\Model;
use Zend\Db\TableGateway\TableGateway;

class ModulesGroupsTable {
    
    protected $tableGateway;

    public function getTableGateway() {
        return $this->tableGateway;
    }

    public function setTableGateway($tableGateway) {
        $this->tableGateway = $tableGateway;
    }

        
    public function __construct(TableGateway $tableGateway) {
        $this->tableGateway = $tableGateway;
    }
    
    public function getAll()
    {
        $resultSet = $this->tableGateway->select();
        return $resultSet->toArray();
    }
}

?>
